<template>
  <AppTopNav></AppTopNav>
  <AppHeader></AppHeader>
  <AppHeaderSticky></AppHeaderSticky>
  <slot></slot>
  <AppFooter></AppFooter>
</template>

<script>
import AppHeader from "./AppHeader";
import AppTopNav from "./AppTopNav";
import AppFooter from "./AppFooter";
import { useStore } from "vuex";
import AppHeaderSticky from "./AppHeaderSticky";

export default {
  name: "indexMerge",
  setup() {
    const store = useStore();
    store.dispatch("category/asyGetAllCategory");
  },
  components: {
    AppHeader,
    AppTopNav,
    AppFooter,
    AppHeaderSticky,
  },
};
</script>

<style scoped></style>
